// src/types/system/dict.ts
export interface DictType {
  id?: number
  name: string
  type: string
  status: number
  remark?: string
  createTime?: string
}

export interface DictData {
  id?: number
  dictType: string
  label: string
  value: string | number
  sort: number
  status: number
  remark?: string
  createTime?: string
}

export interface PageQuery {
  pageNum: number
  pageSize: number
}

export interface DictQuery {
  pageNum: number
  pageSize: number
  dictType?: string
  name?: string
  status?: number
}

export interface DictDataQuery extends PageQuery {
  dictType: string
}
